home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net 2002 March
/
DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin
/
pc
/
PC Software
/
free_browsing
/
DavesQckSearchDbar3-14
/
dqsd.exe
/
searches
/
cdnow.xml
< prev
next >
Wrap
Text File
|
2002-08-30
|
2KB
|
66 lines
<search function="cdnow">
<name>CDNOW</name>
<description>
Search for music on CDNOW. Searches for artists by default.<br/>
<div class="helpboxDescLabels">Switches:</div>
<table class="helpboxDescTable">
<tr><td>/album</td><td> - </td><td>Search for a specific album.</td></tr>
<tr><td>/song</td><td> - </td><td>Search for a specific song.</td></tr>
<tr><td>/label</td><td> - </td><td>Search for a record label.</td></tr>
<tr><td>/video</td><td> - </td><td>Find a music video.</td></tr>
<tr><td>/actor</td><td> - </td><td>Find an actor or director from a music video.</td></tr>
</table>
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
<tr><td>cdnow Mansun</td></tr>
<tr><td>cdnow Lobster /song</td></tr>
</table>
</description>
<category>Entertainment</category>
<link>http://www.cdnow.com/</link>
<contributor>Peter Risser, Ryan Edwards</contributor>
<form name="cdnowf"
action="http://www.cdnow.com/cgi-bin/mserver/pagename=/RP/CDN/FIND/popsearch.html"
method="post">
<input type="hidden" name="string"/>
<input type="hidden" name="index"/>
</form>
<script><![CDATA[
function cdnow(q)
{
var args = parseArgs(q, "album, song, label, video, actor");
if( nullArgs("cdnow",q) )
return false;
else if( args.switches.length == 1 )
{
switch( args.switches[0].name )
{
case "album": document.cdnowf.index.value = "t"; break;
case "song": document.cdnowf.index.value = "s"; break;
case "label": document.cdnowf.index.value = "l"; break;
case "video": document.cdnowf.index.value = "m"; break;
case "actor": document.cdnowf.index.value = "r"; break;
}
document.cdnowf.string.value = args.q;
submitForm(cdnowf);
}
else if( args.switches.length > 1 )
nullArgs("cdnow","?");
else
{
document.cdnowf.index.value = "a";
document.cdnowf.string.value = args.q;
submitForm(cdnowf);
}
}
]]></script>
<copyright>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>